package com.daqian.cloud.client.demo2.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: daqian
 * @Date: 2019/4/22 21:11
 */
@FeignClient("chance-cloud-demo1")
public interface Demo1ServiceFeign {

    @GetMapping("demo1/getStr/{str}")
    String getDemoStr(@PathVariable("str") String str);

    @GetMapping("demo1/test")
    String test();
}
